package com.loser.module.transaction;

import io.github.loserya.core.sdk.impl.MogoServiceImpl;
import io.github.loserya.module.transaction.MogoTransaction;
import org.springframework.stereotype.Component;

@Component
public class TsServiceImpl extends MogoServiceImpl<String, TS> implements TsService {


    @Override
    @MogoTransaction
    public void save(TS t1, TS t2) {

        save(t1);
        int i = 1 / 0;
        save(t2);

    }

}
